package cn.zm.trip.web.dao;

import cn.zm.trip.web.domain.Forum;
import cn.zm.trip.web.domain.ForumExample;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ForumDao extends BaseMapper<Forum> {

    int deleteByPrimaryKey(Integer tpFid);

    int insert(Forum record);

    int insertSelective(Forum record);

    List<Forum> selectByExampleWithBLOBs(ForumExample example);

    List<Forum> forumPointSearch(Forum forum);

    List<Forum> selectByExample(ForumExample example);

    Forum selectByPrimaryKey(Integer tpFid);

    int updateByPrimaryKeySelective(Forum record);

    int updateByPrimaryKeyWithBLOBs(Forum record);

    int updateByPrimaryKey(Forum record);
}